﻿Public Class TipusReport
    Public Property TipusReport As EnumTipusReport
    Public Property NomReport As String

    Public ReadOnly Property ConfigReport As ConfigReportAbstract
        Get
            Select Case TipusReport
                Case EnumTipusReport.ControlDeCaixa
                    Return New ConfigReportControlCaixa()
                Case EnumTipusReport.DetallGastosIngressos
                    Return New ConfigReportResumGastosIngressos()
                Case EnumTipusReport.DetallReserves
                    Return New ConfigReportResumReserves()
                Case EnumTipusReport.EstatHostal
                    Return New ConfigReportEstatHostal()
                Case EnumTipusReport.HoresTreballades
                    Return New ConfigReportHoresTreballades()
                Case EnumTipusReport.Neteges
                    Return New ConfigReportNeteges()
                Case EnumTipusReport.PlantillaHoraris
                    Return New ConfigReportPlantillaHoraris()
                Case EnumTipusReport.ResumDiari
                    Return New ConfigReportResumDiari()
                Case EnumTipusReport.ThingsToDo
                    Return New ConfigReportThingsToDo()
                Case Else
                    Throw New NotImplementedException()
            End Select
        End Get
    End Property
End Class
